package com.example.myapplication;

import com.example.myapplication.slice.*;
import ohos.aafwk.ability.Ability;
import ohos.aafwk.content.Intent;

public class MainAbility extends Ability {
    @Override
    public void onStart(Intent intent) {
        super.onStart(intent);
        super.setMainRoute(LoginAbilitySlice.class.getName());

        super.addActionRoute("slice1", DetailAbilitySlice.class.getName());
        super.addActionRoute("slice2", DetailAbilitySlice2.class.getName());
        super.addActionRoute("slice3", DetailAbilitySlice3.class.getName());
        super.addActionRoute("slice4", DetailAbilitySlice4.class.getName());


    }
}
